package com.itheima.zuoye.d06;

public class Coaches extends  Father{
    private String EmployeeNumber;

    @Override
    public void eat() {
        System.out.println(getName()+"吃工作餐");

    }

    public Coaches(String name, String sex, int age, String employeeNumber) {
        super(name, sex, age);
        EmployeeNumber = employeeNumber;
    }

    public Coaches(String employeeNumber) {
        EmployeeNumber = employeeNumber;
    }

    public String getEmployeeNumber() {
        return EmployeeNumber;
    }

    public void setEmployeeNumber(String employeeNumber) {
        EmployeeNumber = employeeNumber;
    }

}
